protected-mode no
port 26379
daemonize yes
pidfile /usr/local/redis/log/sentinel.pid
logfile "/usr/local/redis/log/sentinel.log"
dir /usr/local/redis/data
sentinel monitor mymaster (master_ip) 6379 2
sentinel auth-pass mymaster 1
sentinel down-after-milliseconds mymaster 3000
sentinel failover-timeout mymaster 180000
sentinel parallel-syncs mymaster 1
sentinel client-reconfig-script mymaster /usr/local/redis/reconfig.sh
